﻿using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using DevExpress.XtraReports.UI;

namespace ThanNhanTao.Report
{
    public partial class rptPhieuThanhToanNoiTruDetail : DevExpress.XtraReports.UI.XtraReport
    {
        public rptPhieuThanhToanNoiTruDetail()
        {
            InitializeComponent();
        }

        public void BindData()
        {
            //colMaYeuCau.DataBindings.Add("Text", DataSource, "MaYeuCau");
            colTenYeuCau.DataBindings.Add("Text", DataSource, "TenYeuCau");
            colTenDonViTinh.DataBindings.Add("Text", DataSource, "TenDonViTinh");
            colSoLuong.DataBindings.Add("Text", DataSource, "SoLuong");
            colGiaYeuCau.DataBindings.Add("Text", DataSource, "GiaYeuCau","{0:#,##0}");
            colThanhTien.DataBindings.Add("Text", DataSource, "ThanhTien", "{0:#,##0}");
        }
    }
}
